package com.moonshineproject.events
{
	import com.moonshineproject.editor.BasicTextEditor;
	
	import flash.events.Event;
	import flash.filesystem.File;

	public class SaveFileEvent extends Event
	{
		public static const FILE_SAVED:String = "fileSavedEvent";
		
		public var file:File;
		public var editor:BasicTextEditor;
		
		public function SaveFileEvent(type:String, file:File, editor:BasicTextEditor=null)
		{
			this.file = file;
			this.editor = editor;
			
			super(type, false, false);
		}
		
	}
}